﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace DataAccess
{
    public class QLKeHoachThi
    {
        public static DataTable xemkehoachthi(string malop)
        {
            return DataAccess.ExeStoredWithParamToDataTable("QLKeHoachThi_Xem", "@MaLop", malop);
        }
        public static string update(string malop, string ngaythi, string cathi, string lanthi)
        {
            ketnoi kn = new ketnoi();
            string kq = kn.update("update KeHoachThi set NgayThi='" + ngaythi + "',CaThi='" + cathi + "',LanThi='" + lanthi + "' where MaLop='" + malop + "'");
            return kq;
        }
    }
}
